﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Rail.Start.Viewer
{
    class FormEditHost: XtraForm
    {
        private Label uiLabel1;
        private Label uiLabel2;
        private TextBox m_UiTextBoxAddress;
        private DevExpress.XtraEditors.TextEdit m_UiTextBoxPort;
        private SimpleButton m_BtnOK;
        private SimpleButton m_BtnCancel;
        private System.ComponentModel.IContainer components;
        public FormEditHost()
        {
            InitializeComponent();
        }
        private void InitializeComponent()
        {
            this.uiLabel1 = new System.Windows.Forms.Label();
            this.uiLabel2 = new System.Windows.Forms.Label();
            this.m_UiTextBoxAddress = new System.Windows.Forms.TextBox();
            this.m_UiTextBoxPort = new DevExpress.XtraEditors.TextEdit();
            this.m_BtnOK = new DevExpress.XtraEditors.SimpleButton();
            this.m_BtnCancel = new DevExpress.XtraEditors.SimpleButton();
            ((System.ComponentModel.ISupportInitialize)(this.m_UiTextBoxPort.Properties)).BeginInit();
            this.SuspendLayout();
            // 
            // uiLabel1
            // 
            this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.uiLabel1.Location = new System.Drawing.Point(67, 33);
            this.uiLabel1.Name = "uiLabel1";
            this.uiLabel1.Size = new System.Drawing.Size(111, 23);
            this.uiLabel1.TabIndex = 2;
            this.uiLabel1.Text = "服务器地址：";
            this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // uiLabel2
            // 
            this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.uiLabel2.Location = new System.Drawing.Point(67, 72);
            this.uiLabel2.Name = "uiLabel2";
            this.uiLabel2.Size = new System.Drawing.Size(111, 23);
            this.uiLabel2.TabIndex = 3;
            this.uiLabel2.Text = "端口号：";
            this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // m_UiTextBoxAddress
            // 
            this.m_UiTextBoxAddress.AccessibleDescription = "输入登录IP或域名";
            this.m_UiTextBoxAddress.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.m_UiTextBoxAddress.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.m_UiTextBoxAddress.Location = new System.Drawing.Point(185, 30);
            this.m_UiTextBoxAddress.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.m_UiTextBoxAddress.MinimumSize = new System.Drawing.Size(1, 1);
            this.m_UiTextBoxAddress.Name = "m_UiTextBoxAddress";
            this.m_UiTextBoxAddress.Size = new System.Drawing.Size(241, 29);
            this.m_UiTextBoxAddress.TabIndex = 5;
            this.m_UiTextBoxAddress.Tag = "";
            // 
            // m_UiTextBoxPort
            // 
            this.m_UiTextBoxPort.EditValue = "80";
            this.m_UiTextBoxPort.Location = new System.Drawing.Point(185, 69);
            this.m_UiTextBoxPort.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.m_UiTextBoxPort.MinimumSize = new System.Drawing.Size(100, 0);
            this.m_UiTextBoxPort.Name = "m_UiTextBoxPort";
            this.m_UiTextBoxPort.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.m_UiTextBoxPort.Properties.Appearance.Options.UseFont = true;
            this.m_UiTextBoxPort.Size = new System.Drawing.Size(241, 28);
            this.m_UiTextBoxPort.TabIndex = 6;
            // 
            // m_BtnOK
            // 
            this.m_BtnOK.Location = new System.Drawing.Point(133, 132);
            this.m_BtnOK.Name = "m_BtnOK";
            this.m_BtnOK.Size = new System.Drawing.Size(87, 23);
            this.m_BtnOK.TabIndex = 7;
            this.m_BtnOK.Text = "确 定";
            // 
            // m_BtnCancel
            // 
            this.m_BtnCancel.Location = new System.Drawing.Point(268, 132);
            this.m_BtnCancel.Name = "m_BtnCancel";
            this.m_BtnCancel.Size = new System.Drawing.Size(87, 23);
            this.m_BtnCancel.TabIndex = 8;
            this.m_BtnCancel.Text = "取消";
            // 
            // FormEditHost
            // 
            this.ClientSize = new System.Drawing.Size(480, 203);
            this.Controls.Add(this.m_BtnCancel);
            this.Controls.Add(this.m_BtnOK);
            this.Controls.Add(this.m_UiTextBoxPort);
            this.Controls.Add(this.m_UiTextBoxAddress);
            this.Controls.Add(this.uiLabel2);
            this.Controls.Add(this.uiLabel1);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FormEditHost";
            this.Text = "服务器设置";
            ((System.ComponentModel.ISupportInitialize)(this.m_UiTextBoxPort.Properties)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
    }
}
